window.addEventListener('load', function () {
    let error = getParameter('error')
    let target = getParameter('target')

    document.querySelector('.错误信息').textContent = error
    let oAnchor = document.querySelector('.跳转信息 a')
    oAnchor.href = target
    oAnchor.textContent = target

    setTimeout(function () {
        location.assign(target)
    }, 5000)
})